;var module3 = angular.module("CtrlsContent");
module3.controller('TestListCtrl',function($scope,api_other){
	$scope.testListLeftModel = {
		model:{},
		get:function(){
			var self = this;
			var promise = api_other.initList();
			promise.success(function(data){
				if(data.returnCode == "0"){
					self.model = data.returnData
				}
			});
		},
	};
	$scope.testListRightModel = {};
	$scope.event = {
		init:function(){
			$scope.testListLeftModel.get();
		},
		queryRight:function(item){
			$scope.testListRightModel.model = item;
		},
		transmit:function(obj){
			localStorage.catId = '';
			localStorage.catId = obj.id;
		}
	};
	$scope.eleStatus = {
		
	};
	(function(){
		$scope.event.init();
	})();
    
});